<!doctype html>
<html lang="en">
    <head>
        <meta charset="UTF-8" />
        <meta name="viewport" content="width=device-width, initial-scale=1.0" />
        <title>练习1016</title>
    </head>
    <style>
        table {
            border: 1px solid black;
        }
        th,
        td {
            width: 200px;
            text-align: center;
            border: 1px solid black;
        }
    </style>
    <body>
        <!-- 转换成表格 -->
        <div class="box">
            <!--渲染区域-->
        </div>
        <button class="a">渲染数据</button><br />
        <!-- 额外要求：手动添加数据，自动追加到表格上 -->
        id：<input type="text" class="id" /> 名称：<input
            type="text"
            class="name"
        />
        价格：<input type="text" class="price" /><br />
        <button class="add">添加数据</button>
    </body>
</html>
